projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
731cafe
)
rockchip: rk3036: sdram: correct setting for pll integer mode
author
Kever Yang
<
[email protected]
>
Thu, 30 Nov 2017 08:51:21 +0000
(16:51 +0800)
committer
Philipp Tomsich
<
[email protected]
>
Thu, 30 Nov 2017 21:55:27 +0000
(22:55 +0100)
According to rk3036 TRM, should be set to '1' for the pll
integer mode, while the '0' means the frac mode.
Signed-off-by: Kever Yang <
[email protected]
>
Acked-by: Philipp Tomsich <
[email protected]
>
Reviewed-by: Philipp Tomsich <
[email protected]
>
arch/arm/mach-rockchip/rk3036/sdram_rk3036.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c
b/arch/arm/mach-rockchip/rk3036/sdram_rk3036.c
index a06ef7bde0a440987fb4fd671353219776854480..e5393ec50a8962498ae399eb518b046149c52b50 100644
(file)
--- a/
arch/arm/mach-rockchip/rk3036/sdram_rk3036.c
+++ b/
arch/arm/mach-rockchip/rk3036/sdram_rk3036.c
@@
-334,7
+334,7
@@
static void rkdclk_init(struct rk3036_sdram_priv *priv)
DPLL_MODE_SLOW << DPLL_MODE_SHIFT);
/* use integer mode */
- rk_
clr
reg(&pll->con1, 1 << PLL_DSMPD_SHIFT);
+ rk_
set
reg(&pll->con1, 1 << PLL_DSMPD_SHIFT);
rk_clrsetreg(&pll->con0,
PLL_POSTDIV1_MASK | PLL_FBDIV_MASK,